var url = location.hostname;
    var urlparts = url.split('.blogspot');
    var host = urlparts[0];
    urlparts = host.split('www.');
    var host1 = urlparts[1];
    if (host1 == undefined){
    var hostt = host;
    }else{
    var hostt = host1;
    }
    
    if (hostt == "entertaimenttvshows") {
       var linkwithin_site_id = 1274819;
    }
    if (hostt == "entertainmentbollywoodwallpapers") {
       var linkwithin_site_id = 1367169;
    }
    if (hostt == "hollywoodto") {
       var linkwithin_site_id = 1367315;
    }
    if (hostt == "entertainmentshreeji") {
       var linkwithin_site_id = 1367313;
    }
    
document.write('<script src="http://www.linkwithin.com/widget.js"></script>');


 //  function confirmCreateNewRecord() 	{ 		
//   var isConfirmed=confirm('Are you sure you wish to create a new  record now? This action cannot be undone or cancelled.') 		
//   if(isConfirmed) 		{ 			
//   window.setTimeout('redirectUser()',5000); 		
//   }   
//   } 	
//   function redirectUser() 	{  		 		
//   window.open("newrecord.php?ID=<?php echo $ID ?>","_blank","toolbar=no, location=yes, status=no, menubar=no, scrollbars=yes, resizable=yes, width=800, height=550");   
//   }


//popup_hit = 0;
//document.body.onclick = function () {
//    //window.open('http://adf.ly/Gmrti', 'poppage', 'toolbars=0, scrollbars=1, location=0, statusbars=0, menubars=0, resizable=1, width=60, height=40, left = 30, top = 10');
//    //}
//    //function popupWin() {
//    //setTimeout('windowProp()', 3000); // delay 3 seconds before opening
//    //}
//    //function windowProp() {
//    if (popup_hit == 0) {
//        newWindow = window.open('http://adf.ly/Gmrti', 'poppage', 'toolbars=0, scrollbars=1, location=0, statusbars=0, menubars=0, resizable=1, width=60, height=40, left = 30, top = 10');
//        popup_hit = popup_hit + 1;
//    }
//    setTimeout('closeWin(newWindow)', 15000); // delay 15 seconds before closing
//}
//function closeWin(newWindow) {
//    newWindow.close(); // close small window and depart
//}
////popupWin();
